package org.smart4j.framework.bean;

import java.lang.reflect.Method;

/**
 * 封装 Action 信息
 *封装参数  1：Controller操作类-->有@Action方法成员的， 2:actionMethod-->注解为@Action方法
 *
 * Created by chinalin on 2017/3/15.
 */
public class Handler {

    /**
     * Controller 类
     */
    private Class<?> controllerClass ;

    /**
     * Action 方法
     */
    private Method actionMethod ;

    public Handler(Class<?>controllerClass, Method actionMethod){
        this.controllerClass = controllerClass ;
        this.actionMethod = actionMethod ;
    }

    public Class<?> getControllerClass() {
        return controllerClass;
    }

    public Method getActionMethod() {
        return actionMethod;
    }
}
